//
//  InterfacedConst.m
//  CarLife
//
//  Created by yu on 2017/7/31.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import "InterfacedConst.h"

#if DevelopSever
/** 接口前缀-开发服务器*/
NSString *const kApiPrefix = @"";
#elif TestSever
/** 接口前缀-测试服务器*/ //朱本地测试@"http://192.168.0.106:9090"
//NSString *const kApiPrefix = @"http://192.168.0.106:9090";
NSString *const kApiPrefix = @"http://139.196.72.231:19090";
#elif ProductSever
/** 接口前缀-生产服务器*/
NSString *const kApiPrefix = @"http://139.196.72.231:9090";
#endif

/** 帐号登录*/
NSString *const kLogin = @"/user/loginByPassword";
/** 获取用户设备列表*/
NSString *const kUserDept = @"/equipment/findEquipmentByUserDept";
/** 车架号登录*/
NSString *const kVinLogin = @"/user/vinLoginByPassword";
/** 设备号登录(安装拍照登录)*/
NSString *const kEqnoLogin = @"/user/eqnoLogin";
/** 上传安装拍照*/
NSString *const kUploadImg = @"/file/uploadImg";
/** 设备拍照查询*/
NSString *const kFindImg = @"/file/findImg";
/** 上传补拍照片*/
NSString *const kRepeatImg = @"/file/repeatImg";
/** 修改用户资料信息*/
NSString *const kUpdateUserInfo = @"/user/updateInfoByUserId";
/** 用户修改密码*/
NSString *const kModifyAccountPw = @"/user/userChangePW";
/** 查询实时轨迹*/
NSString *const kRealTrack = @"/equipment/realTrack";
/** 查询历史轨迹*/
NSString *const kHistoryTrack = @"/equipment/hisTrack";
/** 搜索设备*/
NSString *const kFindEquipment = @"/equipment/findEquipmentByUserDept";
/** 意见反馈*/
NSString *const kFeedback = @"/feedback/create";
/** 报警查询*/
NSString *const kAlarmSearch = @"/alarm/find";
/** 获取查询违章城市列表*/
NSString *const kFetchAllCity = @"/breakruleCity/findAll";
/** 违章查询*/
NSString *const kQueryVehicleInfo = @"/breakruleCity/queryWz";
/** 工单系统登录*/
NSString *const kWorkorderLogin = @"/install/iulogin";
/** 查询工单*/
NSString *const kWorkorderFind = @"/workorder/findWorkOrder";
/** 安装工单完结(修改工单状态)*/
NSString *const kUpdateWorkorderStatus = @"/workorder/updateOrderStatus";
/** 查询家访工单题目*/
NSString *const kWorkorderQuestion = @"/workorder/findVisByQ";
/** 家访工单提交题目*/
NSString *const kWorkorderUpdateVisStatus = @"/workorder/updateVisStatus";
/** 上传家访图片*/
NSString *const kUploadWoVisImg = @"/file/uploadWoVisImg";
/** 上传安装师傅位置*/
NSString *const kUploadInstallerLocation = @"/install/updateByInstallId";
/** 修改帐号密码*/
NSString *const kChangeAccPsd = @"/user/userChangePW";
/** 修改车架号密码*/
NSString *const kChangeVinPsd = @"/equipment/vinChangePW";
/** 获取下级部门*/
NSString *const kFindDept = @"/user/findDeptByParent";


